package com.bdqn.t330.ch01.service;

import com.bdqn.t330.ch01.dao.UserDao;
import com.bdqn.t330.ch01.entity.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImp implements UserService{

    @Resource
    private UserDao userDao;

    @Override
    public List<User> getUserListBiz() {
        return userDao.getUserList();
    }
}
